package itheima.zuoye.Test3;

import java.time.LocalDateTime;
import java.util.List;

public class Student {
    private Long id;
    private String name;
    private String sex;
    private LocalDateTime chooseTime;
    private List<String> choices;

    public Student() {
    }

    public Student(Long id, String name, String sex, LocalDateTime chooseTime, List<String> choices) {
        this.id = id;
        this.name = name;
        this.sex = sex;
        this.chooseTime = chooseTime;
        this.choices = choices;
    }

    public Long getId() {
        return id;
    }

    public void setId(Long id) {
        this.id = id;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public String getSex() {
        return sex;
    }

    public void setSex(String sex) {
        this.sex = sex;
    }

    public LocalDateTime getChooseTime() {
        return chooseTime;
    }

    public void setChooseTime(LocalDateTime chooseTime) {
        this.chooseTime = chooseTime;
    }

    public List<String> getChoices() {
        return choices;
    }

    public void setChoices(List<String> choices) {
        this.choices = choices;
    }

    @Override
    public String toString() {
        return "Student{" +
                "id=" + id +
                ", name='" + name + '\'' +
                ", sex='" + sex + '\'' +
                ", chooseTime=" + chooseTime +
                ", choices=" + choices +
                '}';
    }
}
